<?php
/**
 * Created by PhpStorm.
 * User: zhangxinke
 * Date: 2019/6/1
 * Time: 21:58
 */

namespace app\api\controller;

use app\api\model\SettingModel;

class Setting extends BaseController
{
    public function __construct()
    {
        parent::__construct();
        $this->setting = new SettingModel();
    }
  	//加油卡
  public function oil()
  {
  		$data=$this->setting->setting(1);
    	AjaxReturn('1','成功',$data);
  }
}